import Vue from 'vue'
import App from './App.vue'
import router from './router'
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import loading from '@/components/loading'
import LottieAnimation from 'lottie-web-vue'

// import 'prismjs/themes/prism.css'
// import Prism from "prismjs";
// Vue.use(Prism)
// import * as hljs from 'highlight.js'
// import 'highlight.js/scss/monokai-sublime.scss'

// Vue.directive('highlight',function (el) {
//   let blocks = el.querySelectorAll('code');
//   blocks.forEach((block)=>{
//     hljs.highlightBlock(block)
//   })
// })
Vue.component('loading',loading)
Vue.component('LottieAnimation',LottieAnimation)
// Vue.use(LottieAnimation);
Vue.config.productionTip = false
Vue.use(ElementUI);
new Vue({
  router,
  render: h => h(App)
}).$mount('#app')
